import java.util.*;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 晓星航
 * Date: 2023-01-16
 * Time: 14:08
 */

public class TestDemo {
    public static void main(String[] args) {

    }
    public static void main2(String[] args) {
        Map<String,String> map = new HashMap<>();
        map.put("小鬼头","小恒恒");
        Set<Map.Entry<String,String>>entrySet = map.entrySet();
        Map<String,String> map2 = new TreeMap<>();

    }
    public static void main1(String[] args) {
        Collection<String> collection = new ArrayList<>();
        collection.add("xxh");
        collection.add("ljq");
        //System.out.println(collection);
        Object[] objects = collection.toArray();
        System.out.println(Arrays.toString(objects));
    }
}
